package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抽成结算对象 zsyh_service_settle
 * 
 * @author yuexl
 * @date 2022-03-18
 */
public class ZsyhServiceSettle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 会长id */
    @Excel(name = "会长id")
    private String agentId;

    /** 市县id */
    @Excel(name = "市县id")
    private String rakerId;

    /** 会长openid */
    @Excel(name = "会长openid")
    private String agentOpenid;

    /** 市县openid */
    @Excel(name = "市县openid")
    private String rakerOpenid;

    /** 结算年度 */
    @Excel(name = "结算年度")
    private Integer periodYear;

    /** 结算月度 */
    @Excel(name = "结算月度")
    private Integer periodMonth;

    /** 应结算金额（会长） */
    @Excel(name = "应结算金额", readConverterExp = "会=长")
    private BigDecimal agentSettleMoney;

    /** 应结算金额（市县） */
    @Excel(name = "应结算金额", readConverterExp = "市=县")
    private BigDecimal rakerSettleMoney;

    /** 结算状态（1未结算2已结算） */
    @Excel(name = "结算状态", readConverterExp = "1=未结算2已结算")
    private String settleStatue;

    /** 结算类型（1会长分成2市县分成） */
    @Excel(name = "结算类型", readConverterExp = "1=会长分成2市县分成")
    private String settleType;

    /** 交易号 */
    @Excel(name = "交易号")
    private String transactionId;

    /** 结算人 */
    @Excel(name = "结算人")
    private String settleName;

    private String agentPerson;

    private String rakerPerson;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAgentId(String agentId) 
    {
        this.agentId = agentId;
    }

    public String getAgentId() 
    {
        return agentId;
    }
    public void setRakerId(String rakerId) 
    {
        this.rakerId = rakerId;
    }

    public String getRakerId() 
    {
        return rakerId;
    }
    public void setAgentOpenid(String agentOpenid) 
    {
        this.agentOpenid = agentOpenid;
    }

    public String getAgentOpenid() 
    {
        return agentOpenid;
    }
    public void setRakerOpenid(String rakerOpenid) 
    {
        this.rakerOpenid = rakerOpenid;
    }

    public String getRakerOpenid() 
    {
        return rakerOpenid;
    }
    public void setPeriodYear(Integer periodYear) 
    {
        this.periodYear = periodYear;
    }

    public Integer getPeriodYear() 
    {
        return periodYear;
    }
    public void setPeriodMonth(Integer periodMonth) 
    {
        this.periodMonth = periodMonth;
    }

    public Integer getPeriodMonth() 
    {
        return periodMonth;
    }
    public void setAgentSettleMoney(BigDecimal agentSettleMoney) 
    {
        this.agentSettleMoney = agentSettleMoney;
    }

    public BigDecimal getAgentSettleMoney() 
    {
        return agentSettleMoney;
    }
    public void setRakerSettleMoney(BigDecimal rakerSettleMoney) 
    {
        this.rakerSettleMoney = rakerSettleMoney;
    }

    public BigDecimal getRakerSettleMoney() 
    {
        return rakerSettleMoney;
    }
    public void setSettleStatue(String settleStatue) 
    {
        this.settleStatue = settleStatue;
    }

    public String getSettleStatue() 
    {
        return settleStatue;
    }
    public void setSettleType(String settleType) 
    {
        this.settleType = settleType;
    }

    public String getSettleType() 
    {
        return settleType;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setSettleName(String settleName) 
    {
        this.settleName = settleName;
    }

    public String getSettleName() 
    {
        return settleName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentId", getAgentId())
            .append("rakerId", getRakerId())
            .append("agentOpenid", getAgentOpenid())
            .append("rakerOpenid", getRakerOpenid())
            .append("periodYear", getPeriodYear())
            .append("periodMonth", getPeriodMonth())
            .append("agentSettleMoney", getAgentSettleMoney())
            .append("rakerSettleMoney", getRakerSettleMoney())
            .append("settleStatue", getSettleStatue())
            .append("settleType", getSettleType())
            .append("transactionId", getTransactionId())
            .append("settleName", getSettleName())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getAgentPerson() {
        return agentPerson;
    }

    public void setAgentPerson(String agentPerson) {
        this.agentPerson = agentPerson;
    }

    public String getRakerPerson() {
        return rakerPerson;
    }

    public void setRakerPerson(String rakerPerson) {
        this.rakerPerson = rakerPerson;
    }
}
